package com.JR;

import java.util.Date;

public class Course implements com.util.interfaces.Id, GetDate {
    private int Id;
    private String Name;
    private double courseScore;
    private String courseAddress;
    private int teacherId;
    private Date Date;

    @Override
    public int getId() {
        return Id;
    }

    @Override
    public void setId(int id) {
        Id = id;
    }

    public String getName() {
        return Name;
    }

    public void setName(String name) {
        Name = name;
    }

    public double getCourseScore() {
        return courseScore;
    }

    public void setCourseScore(double courseScore) {
        this.courseScore = courseScore;
    }

    public String getCourseAddress() {
        return courseAddress;
    }

    public void setCourseAddress(String courseAddress) {
        this.courseAddress = courseAddress;
    }

    public int getTeacherId() {
        return teacherId;
    }

    public void setTeacherId(int teacherId) {
        this.teacherId = teacherId;
    }

    public Date getDate() {
        return Date;
    }

    public void setDate(Date date) {
        Date = date;
    }

    @Override
    public String toString() {
        return "Course{" +
                "courseId=" + Id +
                "\t\t\t " + Name +
                "\t\t\t " + courseScore +
                "\t\t\t " + courseAddress +
                "\t\t\t " + teacherId +
                "\t\t\t " + Date +
                '}';
    }


}
